﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace baitap_web_nhom_demo
{
    public partial class vidu_dang_nhap : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if(txtUsername.Text=="admin" && TextBox2.Text=="123")
            {
                ThongBao.Text = "Chao ban, da dang nhap thanh cong";
            }
            else
                ThongBao.Text = "ten dang nhap va mat khau khong dung";
        }
    }
}